#include<iostream>
#include<cstdio>
using namespace std;

int main()
{
	int year, month;
	scanf("%4d%2d", &year, &month);
	switch(month)
	{
		case 3:
		case 4:
		case 5:
			cout << "spring" << endl; break;
		case 6:
		case 7:
		case 8:
			cout << "summer" << endl; break;
		case 9:
		case 10:
		case 11:
			cout << "autumn" << endl; break;
		case 12:
		case 1:
		case 2:
			cout << "winter" << endl; break;
	}
	
	return 0;
}
